package com.wordsbank.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wordsbank.entity.dto.WordDto;
import com.wordsbank.entity.po.Word;

import java.util.List;

/**
 * @AUTHOR : Dragon_Yang
 * @File : WordService
 * @DESCRIPTION :
 * @DATE : 2022/3/3 22:20
 */
public interface WordService extends IService<Word> {
    boolean addWord(WordDto wordDto);
    List<Word> getWordList(String library);
    boolean updateWord(Word word);
    boolean deleteWord(Word word);
}
